package com.wcar.sale.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wcar.common.vo.Result;
import com.wcar.sale.entity.User;
import com.wcar.sale.service.UserService;
import com.wcar.sale.mapper.UserMapper;
import com.wcar.sale.vo.saleTN;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author DELL
* @description 针对表【tb_user】的数据库操作Service实现
* @createDate 2024-05-24 09:11:14
*/
@Service
public class UserServiceImpl implements UserService{
@Resource
private UserMapper userMapper ;

	@Override
	public Result<saleTN> getallM() {
		List<saleTN> selectall = userMapper.selectall();
		System.out.println(selectall);
		return new Result(2000,"拿取客户统计信息",selectall);
	}
}




